<!doctype html>
<html xmlns:th="http://www.thymeleaf.org" lang="en">
<head>
    <meta charset="utf-8"/>
    <!--<link rel="apple-touch-icon" sizes="76x76" th:href="@{/assets/img/apple-icon.png}">-->
    <!--<link rel="icon" type="image/png" sizes="96x96" th:href="@{/assets/img/favicon.png}">-->
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>

    <title>发送消息</title>

    <meta content='width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0' name='viewport'/>
    <meta name="viewport" content="width=device-width"/>


    <!-- Bootstrap core CSS     -->
    <link th:href="@{/assets/css/bootstrap.min.css}" rel="stylesheet"/>

    <!-- Animation library for notifications   -->
    <link th:href="@{/assets/css/animate.min.css}" rel="stylesheet"/>

    <!--  Paper Dashboard core CSS    -->
    <link th:href="@{/assets/css/paper-dashboard.css}" rel="stylesheet"/>

    <!--  CSS for Demo Purpose, don't include it in your project     -->
    <link th:href="@{/assets/css/demo.css}" rel="stylesheet"/>

    <!--  Fonts and icons     -->
    <link th:href="@{http://maxcdn.bootstrapcdn.com/font-awesome/latest/css/font-awesome.min.css}" rel="stylesheet">
    <link th:href="@{https://fonts.googleapis.com/css?family=Muli:400,300}" rel='stylesheet' type='text/css'>
    <link th:href="@{/assets/css/themify-icons.css}" rel="stylesheet">
    <!--百度地图-->
    <script type="text/javascript" src="http://api.map.baidu.com/api?v=3.0&ak=fdlcfn05vIAzElrSVQ3iQ8hPIY3S0KPB"></script>
</head>
<body>

<div class="wrapper">
    <div class="sidebar" data-background-color="white" data-active-color="danger">

        <!--
            Tip 1: you can change the color of the sidebar's background using: data-background-color="white | black"
            Tip 2: you can change the color of the active button using the data-active-color="primary | info | success | warning | danger"
        -->

        <div th:replace="~{index::sidebar-wrapper}"></div>
    </div>

    <div class="main-panel">
        <nav class="navbar navbar-default">
            <div class="container-fluid">
                <div class="navbar-header">
                    <button type="button" class="navbar-toggle">
                        <span class="icon-bar bar1"></span>
                        <span class="icon-bar bar2"></span>
                        <span class="icon-bar bar3"></span>
                    </button>
                    <a class="navbar-brand" href="#">添加站点</a>
                </div>
                <div class="collapse navbar-collapse">
                    <ul class="nav navbar-nav navbar-right">
                        <li class="dropdown">
                            <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                                <i class="ti-bell"></i>
                                <p class="notification">5</p>
                                <p>收件箱</p>
                                <b class="caret"></b>
                            </a>
                            <ul class="dropdown-menu">
                                <li><a href="#">新消息 1</a></li>
                                <li><a href="#">新消息 2</a></li>
                                <li><a href="#">新消息 3</a></li>
                                <li><a href="#">新消息 4</a></li>
                                <li><a href="#">更多</a></li>
                            </ul>
                        </li>
                        <li th:replace="~{index::exit}"></li>
                    </ul>
                </div>
            </div>
        </nav>


        <div class="content">
            <div class="container-fluid">
                <div class="row">
                    <div class="col-lg-12">
                        <div class="card">
                            <div class="header">
                            </div>
                            <div class="content">
                                <div class="row">
                                    <div class="col-lg-3 col-md-3">
                                    </div>
                                    <div class="col-lg-6 col-md-6">
                                        <div class="form-group">
                                            <label>标题</label>
                                            <input type="text" name="title" class="form-control border-input">
                                        </div>
                                        <div class="form-group">
                                            <label>接收人类型</label>
                                            <div class="input-group">
                                                <input type="text" name="receivertype" class="form-control border-input" readonly="readonly">
                                                <div class="input-group-btn">
                                                    <button class="btn btn-default dropdown-toggle" data-toggle="dropdown">
                                                        选择
                                                        <span class="creat"></span>
                                                    </button>
                                                    <ul class='dropdown-menu pull-right station'>
                                                        <li class="selected receivertype" data-type="1"><a href="#">司机</a> </li>
                                                        <li class="selected receivertype" data-type="2"><a href="#">乘客</a> </li>
                                                    </ul>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="form-group">
                                            <label>接收人</label>
                                            <input type="text" name="receiver" class="form-control border-input">
                                        </div>
                                        <div class="form-group">
                                            <label>内容</label>
                                            <textarea name="content" class="form-control border-input" onKeypress="javascript:if(event.keyCode == 32)event.returnValue = false;"></textarea>
                                        </div>
                                        <div class="text-center">
                                            <button type="botton" id="submit" class="btn btn-info btn-fill btn-wd">提交</button>
                                            <a href="javascript:history.go(-1)" class="btn btn-info btn-fill btn-wd">返回</a>
                                        </div>
                                    </div>
                                    <div class="col-lg-3 col-md-3">
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>


                <footer th:replace="~{index::footer}"></footer>


            </div>
        </div>
    </div>
</div>


</body>

<!--   Core JS Files   -->
<script th:src="@{/assets/js/jquery-1.10.2.js}" type="text/javascript"></script>
<script th:src="@{/assets/js/buiness/addmessage.js}" type="text/javascript"></script>
<script th:src="@{/assets/js/bootstrap.min.js}" type="text/javascript"></script>

<!--  Checkbox, Radio & Switch Plugins -->
<script th:src="@{/assets/js/bootstrap-checkbox-radio.js}"></script>

<!--  Charts Plugin -->
<script th:src="@{/assets/js/chartist.min.js}"></script>

<!--  Notifications Plugin    -->
<script th:src="@{/assets/js/bootstrap-notify.js}"></script>




</html>
